---
title: 'Ask Mode'
description: 'Ask mode allows you to run RAG over codebase and disables changes to the file system.'
---

VibeKit ships with an `ask` mode that allows you to ask questions to the agent without changing any files in the file system. This is useful for quick questions and answers or building powerful RAG applications.

```typescript
const result = await vibeKit.generateCode({
  prompt: "Describe the codebase in detail",
  mode: "ask",
})

console.log(result);
``` 